import React from 'react';
import { NavBar,Icon} from 'antd-mobile';

import { connect } from 'dva';
import styles from './IndexPage.css';

function UserCenter() {
  return (
    <div className={styles.normal}>
      <div style={{position:'absolute',top:0,width:'100%'}}>
        <NavBar
          mode="dark"
          onLeftClick={() => console.log('onLeftClick')}
          rightContent={[
            <Icon key="1" type="ellipsis" />,
          ]}
        >用户中心</NavBar>
      </div>
    </div>
  );
}

UserCenter.propTypes = {
};

export default connect()(UserCenter);
